package team.hyznrj.studentsys.dao.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import team.hyznrj.studentsys.entity.CourseAchievement;

import java.math.BigDecimal;
import java.util.List;

public interface CourseAchievementRepository extends JpaRepository<CourseAchievement,String> {

    int deleteByStudentIdIn(List<String> StudentId);

    CourseAchievement findByStudentIdAndCourseTitle (String studentId,String courseTitle);

    int deleteByStudentIdAndCourseTitle(String studentId,String courseTitle);

}
